package com.trsvax.gwthello.components.gwtui;

import java.util.Date;

import org.apache.tapestry5.annotations.IncludeJavaScriptLibrary;

import com.trsvax.gwthello.client.GWTUI;
import com.trsvax.gwthello.client.gwtui.services.DatePickerService;
import com.trsvax.gwthello.components.GWTComponent;

@IncludeJavaScriptLibrary(value = { "context:/gwtUI/gwtUI.nocache.js" })
public class DatePicker extends GWTComponent<GWTUI, DatePickerService> implements DatePickerService {

	public Class<GWTUI> getGWTModuleClass() {
		return GWTUI.class;
	}

	public String date(Date date) {
		return getContainer().date(date);
	}

}
